import popup from "./popup";
import Menus from "./menus";
import ready from './ready'

if (!window._OpenOriginal) {
    window._OpenOriginal = window.open
}

window.EcExtension = {
    open: window._OpenOriginal ?? window.open,
    popup,
    Menus,
    ready,
}

export default window.EcExtension